package com.sq.api.log;

import com.sq.api.dto.SysLoginLogDto;
import com.sq.api.openfeignFallbackFactory.UserServiceApiFallbackFactory;
import com.sq.common.web.R;
import com.sq.common.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author Li sir
 * @Date 2024/9/30
 */



@FeignClient(name = "sq-system-server",
        contextId = "LogServiceApi",
        url = "http://localhost:8082"
//        dismiss404 = true,
        )
public interface LogServiceApi {


    @RequestMapping("/api/log/saveloginlog")
    public R saveLoginLog(SysLoginLogDto sysLoginLogDto);

}
